package com.cristina.attention.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cristina.attention.entity.User;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author superman
 * @Date 2021/11/19 9:29
 **/
public interface UserService extends IService<User> {

    /**
     * 注册
     * @param user
     * @return
     */
    boolean submit(User user);

    /**
     * 刪除
     * @param ids
     * @return
     */
    boolean deleteLogic(@NotEmpty List<Long> ids);

}
